package com.atguigu;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

// @EnableRabbit + @RabbitListener 监听消息队列的内容
@EnableRabbit
@SpringBootApplication
public class SpringBoot07Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot07Application.class, args);
    }

}
